package com.spring.demo10;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

/**
 * @author vhans
 */
@ComponentScan
// 使用@PropertySource注解引入配置文件  @PropertySource({"配置文件路径1","配置文件路径2"...})
@PropertySource("classpath:/config/demo10/db.properties")
public class MainConfig1 {
}
